import Base from "../Base";

class Index extends Base{
	constructor(props: string){
		super(props)
		this.res = {
			'code':300,
			'msg':'网络出错,未获取到区块'
		}
	}
	/**
	 * 获取广告
	 * @param data IQuery
	 * @returns 
	 */
	public getAdsData(data={}):Promise<any>{
		return this.HttpGet('/data/ads',data)
	}
}

export default Index;